package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 教师授课课程
 * </p>
 *
 * @author quin.song
 * @since 2024-05-21
 */
@Data
@Accessors(chain = true)
@TableName("teacher_course")
@ApiModel(value = "TeacherCourse对象", description = "教师授课课程")
public class TeacherCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer taskId;

    private Long teacherId;

    private Long courseId;

    @ApiModelProperty("课程名/环节名")
    private String courseName;

    @ApiModelProperty("1课程  2环节")
    private Integer flag;
}
